﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AssetDepreciationEdit.aspx.cs" Inherits="AMS.Web.BaseData.AssetDepreciationEdit" %>

<%@ Register Assembly="ZLTextBox" Namespace="BaseText" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../App_Themes/Default/Body.css" type="text/css" rel="stylesheet" />
    <link href="../App_Themes/Default/Button.css" type="text/css" rel="stylesheet" />
    <link href="../App_Themes/Default/Img.css" type="text/css" rel="stylesheet" />
    <link href="../App_Themes/Default/Menu.css" type="text/css" rel="stylesheet" />
    <link href="../App_Themes/Default/subModal.css" type="text/css" rel="stylesheet" />
    <link href="../App_Themes/Default/Table.css" type="text/css" rel="stylesheet" />
    <link href="../App_Themes/Default/Text.css" type="text/css" rel="stylesheet" />
    <link href="../ScriptFiles/CSS/Main.css" type="text/css" rel="stylesheet" />
<base target="_self" />
<meta http-equiv="Cache-Control" content="no-cache,must-revalidate">
<meta http-equiv="Expires" content="0">
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div class="tableMain">
            <div class="tableSpaceBorder">
                <table style="border: 1px solid #A8CFEB; background-color: #F1F6FF; margin-top: 4px;">
                    <tr>
                        <td colspan="3" align="center">
                            <font style="color: Black">资产折旧</font>
                        </td>
                    </tr>
                  
                </table>
                <table style="border: 1px solid #A8CFEB; margin-top: 4px;">
                    <tr>
                         
                        <td style="text-align: right; width: 180px; height: 30px" class="tableBg1" >
                            <asp:Label ID="Label2" runat="server" Font-Size="12px" Text="资产条码："></asp:Label>
                        </td>
                        <td class="tableBg2" style="text-align: left">
                            <cc1:ZLTextBox ID="ZLTextBox_Barcode" runat="server" InputType="varchars" MaxLength="100" ReadOnly="true"
                                onblurCssName="textBase" onfocusCssName="textBaseFocus" CssClass="textBase" Height="20px"
                                Width="180px"></cc1:ZLTextBox>
                       </td>
                    </tr>
                    <tr>
                        
                        <td style="text-align: right; width: 180px; height: 30px" class="tableBg1">
                            <asp:Label ID="Label1" runat="server" Font-Size="12px" Text="资产名称："></asp:Label>
                        </td>
                        <td class="tableBg2" style="text-align: left">
                            <cc1:ZLTextBox ID="ZLTextBox_AssetName" runat="server" InputType="varchars" onblurCssName="textBase"  ReadOnly="true"
                                onfocusCssName="textBaseFocus" CssClass="textBase" MaxLength="200" Height="20px"
                                Width="180px"></cc1:ZLTextBox>
                         </td>
                    </tr>
                    <tr>
                         
                        <td style="text-align: right; width: 180px; height: 30px" class="tableBg1">
                            <asp:Label ID="Label4" runat="server" Font-Size="12px" Text="资产净值："></asp:Label>
                        </td>
                        <td class="tableBg2" style="text-align: left">
                            <cc1:ZLTextBox ID="ZLTextBox_EndValue" runat="server" InputType="varchars" MaxLength="100"  ReadOnly="true"
                                onblurCssName="textBase" onfocusCssName="textBaseFocus" CssClass="textBase" Height="20px"
                                Width="180px" ></cc1:ZLTextBox>
                        </td>
                    </tr>
                    <tr>
                        
                        <td style="text-align: right; width: 180px; height: 30px" class="tableBg1">
                            <asp:Label ID="Label3" runat="server" Font-Size="12px" Text="折旧金额："></asp:Label>
                        </td>
                        <td class="tableBg2" style="text-align: left">
                            <cc1:ZLTextBox ID="ZLTextBox_DepreciationValue" runat="server" InputType="varchars" MaxLength="100"
                                onblurCssName="textBase" onfocusCssName="textBaseFocus" CssClass="textBase" Height="20px"
                                Width="180px" ></cc1:ZLTextBox>
                           <asp:RequiredFieldValidator ID="RequiredFieldValidator_DepreciationValue" runat="server"
                                Display="Dynamic" ControlToValidate="ZLTextBox_DepreciationValue" ErrorMessage="*折旧金额不能为空"></asp:RequiredFieldValidator>
                          <asp:RegularExpressionValidator ID="RegularExpressionValidator_DepreciationValue" runat="server"
                                Display="Dynamic" ValidationExpression="^[+]?\d*[.]?\d*$" ErrorMessage="数字！"
                                ControlToValidate="ZLTextBox_DepreciationValue"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right; width: 180px; height: 30px" class="tableBg1">
                            <asp:Label ID="LabelId" runat="server" Font-Size="12px" Text="" Visible="false"></asp:Label>
                        </td>
                        <td  style="text-align: left;">
                            <asp:Button ID="btnSubmit" Style="margin-left: 20px" runat="server" Text="提  交" class="btn_mouseout"
                                onmouseover="this.className= 'btn_mouseover ' " onmouseout="this.className= 'btn_mouseout ' "
                                onmousedown="this.className= 'btn_mousedown '" 
                                onmouseup="this.className= 'btn_mouseup '" onclick="btnSubmit_Click" />&nbsp;&nbsp;
                                <asp:Button ID="btnCancel"  runat="server" Text="返  回" class="btn_mouseout"
                                onmouseover="this.className= 'btn_mouseover ' " onmouseout="this.className= 'btn_mouseout ' "
                                onmousedown="this.className= 'btn_mousedown '" 
                                onmouseup="this.className= 'btn_mouseup '" CausesValidation="false" onclick="btnCancel_Click" />
                        </td>
                    </tr>
                </table>
            </div>
            <br />
        
        </div>
    </div>
    </form>
</body>
</html>
